#if !defined(AFX_OPERATETK_H__CA8BF5B7_095B_4E2E_A6D8_21391AE40A8F__INCLUDED_)
#define AFX_OPERATETK_H__CA8BF5B7_095B_4E2E_A6D8_21391AE40A8F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OperateTK.h : header file
//
#include "MyButton.h"
/////////////////////////////////////////////////////////////////////////////
// COperateTK dialog
class CPageTK;
class COperateTK : public CDialog
{
// Construction
public:
	BOOL ISnum(CString a);
	CString ti;
	CString tao;
	CString tk_knum;
	void GetRecord();
	COperateTK(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(COperateTK)
	enum { IDD = IDD_DIALOG_OPERATETK };
	CComboBox	m_typectl;
	CComboBox	m_monthctl;
	CComboBox	m_yearctl;
	CComboBox	m_tictl;
	CComboBox	m_taoctl;
	CString	m_answer;
	CString	m_content;
	CXPButton m_tk1;
	CXPButton m_tk2;
	CString	m_answer2;
	CString	m_answer3;
	CString	m_year;
	CString	m_month;
	CString	m_tihao;
	CString	m_type;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COperateTK)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(COperateTK)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonOperate();
	afx_msg void OnButtonExit();
	afx_msg void OnEditchangeComboTao();
	afx_msg void OnEditchangeComboTi();
	afx_msg void OnKillfocusComboTao();
	afx_msg void OnKillfocusComboTi();
	afx_msg void OnSetfocusComboTao();
	afx_msg void OnSetfocusComboTi();
	afx_msg void OnKillfocusCOMBOtype();
	afx_msg void OnSetfocusCOMBOtype();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void inicombo();
	_variant_t holder;
	_variant_t var;
	CPageTK *pdlg;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_OPERATETK_H__CA8BF5B7_095B_4E2E_A6D8_21391AE40A8F__INCLUDED_)
